package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IRoleService {
    void deleteByPrimaryKey(Long id);

    void saveOrUpdate(Role entity);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    PageResult query(QueryObject qo);

    List<Long> getRoleByEmployeeId(Long employeeId);
}
